Image Processing Device and Method

ABSTRACT

The present application discloses an image processing device and method, and relates to the technical field of color calibration. The device of the present application includes: an acquisition unit, configured to acquire an image to be displayed, the image to be displayed containing a plurality of pixel points; a first determination unit, configured to determine a converted RGB value corresponding to each of the pixel points according to an original RGB value corresponding to each of the pixel points; a second determination unit, configured to determine a calibration RGB difference value corresponding to each of the pixel points according to the converted RGB value corresponding to each of the pixel points and a target look-up table; a third determination unit, configured to determine a calibration RGB value corresponding to each of the pixel points according to the converted RGB value and the calibration RGB difference value corresponding to each of the pixel points; and an output unit, configured to output and display the image to be displayed according to the calibration RGB value corresponding to each of the pixel points.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to Chinese Patent ApplicationNo.CN202210944237X, titled “DEVICE, METHOD AND PROGRAM FOR PROCESSINGIMAGE” and filed to the State Patent Intellectual Property Office on theentire contents of which are incorporated herein by reference.

TECHNICAL FIELD

The present application relates to the technical field of colorcalibration, and in particular to an image processing device and method.

BACKGROUND ART

In order to ensure that a display apparatus outputs and displays a truercolor, the display apparatus needs to perform color calibrationprocessing on an image to be output.

At present, the display apparatus usually performs color calibrationprocessing on an image to be displayed through an IP module in a TCONchip. In a specific process, the TCON chip reads a look-up table (LUT)stored in an RAM, and writes the look-up table into an SRAM of the IPmodule. After obtaining an image to be displayed, according to anoriginal RGB value corresponding to each pixel point contained in theimage to be displayed, the IP module looks up the look-up table for acalibration RGB value corresponding to each pixel point, and thencontrols the display apparatus to output and display the image to bedisplayed according to the calibration RGB value corresponding to eachpixel point. A plurality of sampling RGB values and a calibration RGBvalue corresponding to each sampling RGB value are recorded in thelook-up table.

However, a data volume corresponding to each calibration RGB valuerecorded in the look-up table is related to a color bit depthcorresponding to the display apparatus. For example, the color bit depthcorresponding to the display apparatus is 12 bit. Then the data volumecorresponding to each calibration RGB value is 12 bit, thus resulting ina larger data volume of the look-up table. Therefore, it is requiredthat the TCON chip has a large-capacity RAM to store the look-up tableand the IP module has a large-capacity SRAM to store the look-up table,thus resulting in a high manufacturing cost of the TCON chip.

Summary of the Invention

Examples of the present application provide an image processing deviceand method, and mainly aim to reduce the data volume of a look-up table,thereby reducing the manufacturing cost of a TCON chip.

In order to solve the above-mentioned technical problem, the examples ofthe present application provide the following technical solutions:

According to a first aspect, the present application provides an imageprocessing device applied to a target TCON chip. The device includes:

-   an acquisition unit, configured to acquire an image to be displayed,    the image to be displayed containing a plurality of pixel points;-   a first determination unit, configured to determine a converted RGB    value corresponding to each of the pixel points according to an    original RGB value corresponding to each of the pixel points;-   a second determination unit, configured to determine a calibration    RGB difference value corresponding to each of the pixel points    according to the converted RGB value corresponding to each of the    pixel points and a target look-up table;-   a third determination unit, configured to determine a calibration    RGB value corresponding to each of the pixel points according to the    converted RGB value and the calibration RGB difference value    corresponding to each of the pixel points; and-   an output unit, configured to output and display the image to be    displayed according to the calibration RGB value corresponding to    each of the pixel points.

Alternatively, the first determination unit includes:

-   a first determination module, configured to determine whether color    depth conversion processing is required or not according to a color    bit depth corresponding to the image to be displayed and a color bit    depth corresponding to a target display apparatus, the target    display apparatus being a display apparatus where the target TCON    chip is located;-   a calculation module, configured to calculate the converted RGB    value corresponding to each of the pixel points according to a    preset algorithm, the color bit depth corresponding to the image to    be displayed, the color bit depth corresponding to the target    display apparatus, and the original RGB value corresponding to each    of the pixel points when the first determination module determines    that color depth conversion processing is required; and-   a second determination module, configured to determine the original    RGB value corresponding to each of the pixel points as the converted    RGB value corresponding to each of the pixel points when the first    determination module determines that color depth conversion    processing is not required.

Alternatively, a plurality of sampling RGB values and a calibration RGBdifference value corresponding to each of the sampling RGB values arespecifically recorded in the target look-up table.

The second determination unit is specifically configured to: determinewhether a target sampling RGB value corresponding to the pixel pointexists or not in the target look-up table according to the converted RGBvalue corresponding to the pixel point;

-   look up the target look-up table for a calibration RGB difference    value corresponding to the target sampling RGB value if the target    sampling RGB value corresponding to the pixel point exists; and-   determine the calibration RGB difference value corresponding to the    target sampling RGB value as a calibration RGB difference value    corresponding to the pixel point.

Alternatively, the second determination unit is also specificallyconfigured to: look up the target look-up table for a calibration RGBdifference value corresponding to a first adjacent sampling RGB valueand a calibration RGB difference value corresponding to a secondadjacent sampling RGB value if the target sampling RGB valuecorresponding to the pixel point does not exist, the first adjacentsampling RGB value being a sampling RGB value, smaller than but closestto the converted RGB value corresponding to the pixel point, among theplurality of sampling RGB values, and the second adjacent sampling RGBvalue being a sampling RGB value, greater than but closest to theconverted RGB value corresponding to the pixel point, among theplurality of sampling RGB values; and

determine the calibration RGB difference value corresponding to thefirst adjacent sampling RGB value and the calibration RGB differencevalue corresponding to the second adjacent sampling RGB value as thecalibration RGB difference value corresponding to the pixel point.

Alternatively, the third determination unit is specifically configuredto: calculate a calibration RGB value corresponding to the pixel pointaccording to the converted RGB value corresponding to the pixel pointand the calibration RGB difference value corresponding to the targetsampling RGB value when the calibration RGB difference valuecorresponding to the pixel point is specifically the calibration RGBdifference value corresponding to the target sampling RGB value.

Alternatively, the third determination unit is also specificallyconfigured to: calculate a calibration RGB value corresponding to thefirst adjacent sampling RGB value according to the first adjacentsampling RGB value and the calibration RGB difference valuecorresponding to the first adjacent sampling RGB value when thecalibration RGB difference value corresponding to the pixel point isspecifically the calibration RGB difference value corresponding to thefirst adjacent sampling RGB value and the calibration RGB differencevalue corresponding to the second adjacent sampling RGB value;

-   calculate a calibration RGB value corresponding to the second    adjacent sampling RGB value according to the second adjacent    sampling RGB value and the calibration RGB difference value    corresponding to the second adjacent sampling RGB value; and-   calculate a calibration RGB value corresponding to the pixel point    according to the preset algorithm, the converted RGB value    corresponding to the pixel point, the first adjacent sampling RGB    value, the calibration RGB value corresponding to the first adjacent    sampling RGB value, the second adjacent sampling RGB value, and the    calibration RGB value corresponding to the second adjacent sampling    RGB value.

Alternatively, a plurality of sampling gray scale values contained ineach color channel and a calibration gray scale difference valuecorresponding to each of the sampling gray scale values are specificallyrecorded in the target look-up table.

The second determination unit is specifically configured to: determine aconverted gray scale value corresponding to each color channel of thepixel point according to the converted RGB value corresponding to thepixel point;

-   determine a calibration gray scale difference value corresponding to    each color channel according to the converted gray scale value    corresponding to each color channel of the pixel point and the    target look-up table; and-   determine the calibration gray scale difference values corresponding    to the plurality of color channels of the pixel point as the    calibration RGB difference value corresponding to the pixel point.

Alternatively, the third determination unit is specifically configuredto: calculate a calibration gray scale value corresponding to each colorchannel of the pixel point according to the converted gray scale valueand the calibration gray scale difference value corresponding to eachcolor channel of the pixel point; and

determine the calibration gray scale values corresponding to theplurality of color channels of the pixel point as the calibration RGBvalue corresponding to the pixel point.

Alternatively, a plurality of sampling gray scale values contained ineach color channel and a high calibration gray scale difference valueand a low calibration gray scale difference value corresponding to eachof the sampling gray scale values are specifically recorded in thetarget look-up table.

The second determination unit is specifically configured to: determine aconverted gray scale value corresponding to each color channel of thepixel point according to the converted RGB value corresponding to thepixel point;

-   determine a high calibration gray scale difference value and a low    calibration gray scale difference value corresponding to each color    channel according to the converted gray scale value corresponding to    each color channel of the pixel point and the target look-up table;    and-   determine the high calibration gray scale difference values and the    low calibration gray scale difference values corresponding to the    plurality of color channels of the pixel point as the calibration    RGB difference value corresponding to the pixel point.

Alternatively, the third determination unit is specifically configuredto: calculate a high calibration gray scale value and a low calibrationgray scale value corresponding to each color channel of the pixel pointaccording to the converted gray scale value, the high calibration grayscale difference value and the low calibration gray scale differencevalue corresponding to each color channel of the pixel point;

-   calculate a calibration gray scale value corresponding to each color    channel of the pixel point according to the high calibration gray    scale value and the low calibration gray scale value corresponding    to each color channel of the pixel point; and-   determine the calibration gray scale values corresponding to the    plurality of color channels of the pixel point as the calibration    RGB value corresponding to the pixel point.

According to a second aspect, the present application also provides animage processing method applied to a target TCON chip. The methodincludes:

-   acquiring an image to be displayed, the image to be displayed    containing a plurality of pixel points;-   determining a converted RGB value corresponding to each of the pixel    points according to an original RGB value corresponding to each of    the pixel points;-   determining a calibration RGB difference value corresponding to each    of the pixel points according to the converted RGB value    corresponding to each of the pixel points and a target look-up    table;-   determining a calibration RGB value corresponding to each of the    pixel points according to the converted RGB value and the    calibration RGB difference value corresponding to each of the pixel    points; and-   outputting and displaying the image to be displayed according to the    calibration RGB value corresponding to each of the pixel points.

Alternatively, the determining a converted RGB value corresponding toeach of the pixel points according to an original RGB valuecorresponding to each of the pixel points includes:

-   determining whether color depth conversion processing is required or    not according to a color bit depth corresponding to the image to be    displayed and a color bit depth corresponding to a target display    apparatus, the target display apparatus being a display apparatus    where the target TCON chip is located;-   if so, calculating the converted RGB value corresponding to each of    the pixel points according to a preset algorithm, the color bit    depth corresponding to the image to be displayed, the color bit    depth corresponding to the target display apparatus, and the    original RGB value corresponding to each of the pixel points; and-   if not, determining the converted RGB value corresponding to each of    the pixel points according to the original RGB value corresponding    to each of the pixel points.

Alternatively, a plurality of sampling RGB values and a calibration RGBdifference value corresponding to each of the sampling RGB values arespecifically recorded in the target look-up table. The determining acalibration RGB difference value corresponding to each of the pixelpoints according to the converted RGB value corresponding to each of thepixel points and a target look-up table includes:

-   determining whether a target sampling RGB value corresponding to the    pixel point exists or not in the target look-up table according to    the converted RGB value corresponding to the pixel point;-   looking up the target look-up table for a calibration RGB difference    value corresponding to the target sampling RGB value if the target    sampling RGB value corresponding to the pixel point exists; and-   determining the calibration RGB difference value corresponding to    the target sampling RGB value as a calibration RGB difference value    corresponding to the pixel point.

Alternatively, the determining a calibration RGB difference valuecorresponding to each of the pixel points according to the converted RGBvalue corresponding to each of the pixel points and a target look-uptable also includes:

-   looking up the target look-up table for a calibration RGB difference    value corresponding to a first adjacent sampling RGB value and a    calibration RGB difference value corresponding to a second adjacent    sampling RGB value if the target sampling RGB value corresponding to    the pixel point does not exist, the first adjacent sampling RGB    value being a sampling RGB value, smaller than but closest to the    converted RGB value corresponding to the pixel point, among the    plurality of sampling RGB values, and the second adjacent sampling    RGB value being a sampling RGB value, greater than but closest to    the converted RGB value corresponding to the pixel point, among the    plurality of sampling RGB values; and-   determining the calibration RGB difference value corresponding to    the first adjacent sampling RGB value and the calibration RGB    difference value corresponding to the second adjacent sampling RGB    value as the calibration RGB difference value corresponding to the    pixel point.

Alternatively, the determining a calibration RGB value corresponding toeach of the pixel points according to the converted RGB value and thecalibration RGB difference value corresponding to each of the pixelpoints includes:

calculating a calibration RGB value corresponding to the pixel pointaccording to the converted RGB value corresponding to the pixel pointand the calibration RGB difference value corresponding to the targetsampling RGB value when the calibration RGB difference valuecorresponding to the pixel point is specifically the calibration RGBdifference value corresponding to the target sampling RGB value.

Alternatively, the determining a calibration RGB value corresponding toeach of the pixel points according to the converted RGB value and thecalibration RGB difference value corresponding to each of the pixelpoints includes:

-   calculating a calibration RGB value corresponding to the first    adjacent sampling RGB value according to the first adjacent sampling    RGB value and the calibration RGB difference value corresponding to    the first adjacent sampling RGB value when the calibration RGB    difference value corresponding to the pixel point is specifically    the calibration RGB difference value corresponding to the first    adjacent sampling RGB value and the calibration RGB difference value    corresponding to the second adjacent sampling RGB value;-   calculating a calibration RGB value corresponding to the second    adjacent sampling RGB value according to the second adjacent    sampling RGB value and the calibration RGB difference value    corresponding to the second adjacent sampling RGB value; and-   calculating a calibration RGB value corresponding to the pixel point    according to the preset algorithm, the converted RGB value    corresponding to the pixel point, the first adjacent sampling RGB    value, the calibration RGB value corresponding to the first adjacent    sampling RGB value, the second adjacent sampling RGB value, and the    calibration RGB value corresponding to the second adjacent sampling    RGB value.

Alternatively, a plurality of sampling gray scale values contained ineach color channel and a calibration gray scale difference valuecorresponding to each of the sampling gray scale values are specificallyrecorded in the target look-up table. The determining a calibration RGBdifference value corresponding to each of the pixel points according tothe converted RGB value corresponding to each of the pixel points and atarget look-up table includes:

-   determining a converted gray scale value corresponding to each color    channel of the pixel point according to the converted RGB value    corresponding to the pixel point;-   determining a calibration gray scale difference value corresponding    to each color channel according to the converted gray scale value    corresponding to each color channel of the pixel point and the    target look-up table; and-   determining the calibration gray scale difference values    corresponding to the plurality of color channels of the pixel point    as the calibration RGB difference value corresponding to the pixel    point.

Alternatively, the determining a calibration RGB value corresponding toeach of the pixel points according to the converted RGB value and thecalibration RGB difference value corresponding to each of the pixelpoints includes:

-   calculating a calibration gray scale value corresponding to each    color channel of the pixel point according to the converted gray    scale value and the calibration gray scale difference value    corresponding to each color channel of the pixel point; and-   determining the calibration gray scale values corresponding to the    plurality of color channels of the pixel point as the calibration    RGB value corresponding to the pixel point.

Alternatively, a plurality of sampling gray scale values contained ineach color channel and a high calibration gray scale difference valueand a low calibration gray scale difference value corresponding to eachof the sampling gray scale values are specifically recorded in thetarget look-up table. The determining a calibration RGB difference valuecorresponding to each of the pixel points according to the converted RGBvalue corresponding to each of the pixel points and a target look-uptable includes:

-   determining a converted gray scale value corresponding to each color    channel of the pixel point according to the converted RGB value    corresponding to the pixel point;-   determining a high calibration gray scale difference value and a low    calibration gray scale difference value corresponding to each color    channel according to the converted gray scale value corresponding to    each color channel of the pixel point and the target look-up table;    and-   determining the high calibration gray scale difference values and    the low calibration gray scale difference values corresponding to    the plurality of color channels of the pixel point as the    calibration RGB difference value corresponding to the pixel point.

Alternatively, the determining a calibration RGB value corresponding toeach of the pixel points according to the converted RGB value and thecalibration RGB difference value corresponding to each of the pixelpoints includes:

-   calculating a high calibration gray scale value and a low    calibration gray scale value corresponding to each color channel of    the pixel point according to the converted gray scale value, the    high calibration gray scale difference value and the low calibration    gray scale difference value corresponding to each color channel of    the pixel point;-   calculating a calibration gray scale value corresponding to each    color channel of the pixel point according to the high calibration    gray scale value and the low calibration gray scale value    corresponding to each color channel of the pixel point; and-   determining the calibration gray scale values corresponding to the    plurality of color channels of the pixel point as the calibration    RGB value corresponding to the pixel point.

According to a third aspect, an example of the present applicationprovides a timing control device, including: the image processing deviceas described in the first aspect.

According to a fourth aspect, an example of the present applicationprovides a display device, including: the timing control device asdescribed in the third aspect.

According to a fifth aspect, an example of the present applicationprovides a storage medium, including a stored program. The program, whenexecuted, controls an apparatus where the storage medium is located toperform the image processing method as described in the second aspect.

According to a sixth aspect, an example of the present applicationprovides an image processing device, including a storage medium and oneor more processors. The storage medium is coupled to the processor, theprocessor is configured to execute a program instruction stored in thestorage medium, and the program instruction, when executed, performs theimage processing method as described in the second aspect.

By means of the above-mentioned technical solutions, the technicalsolutions provided by the present application have at least thefollowing advantages:

The present application provides an image processing device and method.The image processing device provided in the present applicationincludes: an acquisition unit, a first determination unit, a seconddetermination unit, a third determination unit, and an output unit.Firstly, the acquisition unit acquires an image to be displayed.Secondly, the first determination unit determines a converted RGB valuecorresponding to each pixel point according to an original RGB valuecorresponding to each pixel point contained in the image to bedisplayed. Again, the second determination unit determines a calibrationRGB difference value corresponding to each pixel point according to theconverted RGB value corresponding to each pixel point and a targetlook-up table. Then, the third determination unit determines acalibration RGB value corresponding to each pixel point according to theconverted RGB value and the calibration RGB difference valuecorresponding to each pixel point. Finally, the output unit outputs anddisplays the image to be displayed according to the calibration RGBvalue corresponding to each pixel point. In the present application, itis not necessary to record a plurality of sampling RGB values and acalibration RGB value corresponding to each sampling RGB value in thetarget look-up table, but to record a plurality of sampling RGB valuesand a calibration RGB difference value corresponding to each samplingRGB value, or to record a plurality of sampling gray scale valuescontained in each color channel and a calibration gray scale differencevalue corresponding to each sampling gray scale value, or to record aplurality of sampling gray scale values contained in each color channeland a calibration gray scale difference value and a low calibration grayscale difference value corresponding to each sampling gray scale value.A data volume corresponding to any one calibration RGB difference valueis related to a specific value of the calibration RGB difference value,a data volume corresponding to any one calibration gray scale differencevalue is related to the calibration gray scale difference value, a datavolume corresponding to any one high calibration gray scale differencevalue is related to the high calibration gray scale difference value,and a data volume corresponding to any one low calibration gray scaledifference value is related to the low calibration gray scale differencevalue. Therefore, the data volume of the target look-up table can beeffectively reduced, whereby the target TCON chip can use asmall-capacity RAM to store the target look-up table. Furthermore, themanufacturing cost of the target TCON chip can be effectively reduced.

The above description is merely a summary of the technical solutions ofthe present application. In order to more clearly know the technicalmeans of the present application to implement according to the contentsof the description, and in order to make the above-mentioned and otherobjects, features and advantages of the present application moreapparent and understandable, specific embodiments of the presentapplication are provided below.

BRIEF DESCRIPTION OF THE DRAWINGS

The above-mentioned and other objects, features and advantages ofexemplary embodiments of the present application will become readilyunderstandable from the following detailed description when read withreference to the accompanying drawings. Several embodiments of thepresent application are illustrated by way of example, and not by way oflimitation, in the accompanying drawings, and the same or correspondingreference numerals denote the same or corresponding parts, in thedrawings:

FIG. 1 shows a constitutional block diagram of an image processingdevice according to an example of the present application;

FIG. 2 shows a constitutional block diagram of another image processingdevice according to an example of the present application; and

FIG. 3 shows a flowchart of an image processing method according to anexample of the present application.

DETAILED DESCRIPTION OF THE INVENTION

Exemplary embodiments of the present application will be described inmore detail below with reference to the accompanying drawings. While thedrawings show exemplary embodiments of the present application, itshould be understood that the present application may be embodied invarious forms and should not be limited by the embodiments set forthherein. Rather, these embodiments are provided so that the presentapplication will be thoroughly understood, and the scope of the presentapplication will be fully conveyed to those skilled in the art.

It should be noted that unless otherwise indicated, technical orscientific terms used herein should have the ordinary meaning asunderstood by those skilled in the art to which the present applicationbelongs.

An example of the present application provides an image processingdevice which may be specifically applied to a target IP module in atarget TCON chip. The target IP module is specifically: a Gamma moduleor a VAC module. The target TCON chip is specifically: a TCON chip in atarget display apparatus which may be but is not limited to: a display,a television screen, etc. As shown in FIG. 1 , the device includes: anacquisition unit 11, configured to acquire an image to be displayed, theimage to be displayed contains a plurality of pixel points; a firstdetermination unit 12, configured to determine a converted RGB valuecorresponding to each pixel point according to an original RGB valuecorresponding to each pixel point; a second determination unit 13,configured to determine a calibration RGB difference value correspondingto each pixel point according to the converted RGB value correspondingto each pixel point and a target look-up table; a third determinationunit 14, configured to determine a calibration RGB value correspondingto each pixel point according to the converted RGB value and thecalibration RGB difference value corresponding to each pixel point; andan output unit 15, configured to output and display the image to bedisplayed according to the calibration RGB value corresponding to eachpixel point.

A detailed process of the image processing device performing colorcalibration processing on an image to be displayed will be described indetail with reference to the image processing device shown in FIG. 1 .

The target look-up table records a plurality of sampling RGB values anda calibration RGB difference value corresponding to each sampling RGBvalue, or records a plurality of sampling gray scale values contained ineach color channel and a calibration gray scale difference valuecorresponding to each sampling gray scale value, or records a pluralityof sampling gray scale values contained in each color channel and a highcalibration gray scale difference value and a low calibration gray scaledifference value corresponding to each sampling gray scale value. Forany one sampling RGB value, the calibration RGB difference valuecorresponding to the sampling RGB value is a difference value betweenthe sampling RGB value and the calibration RGB value corresponding tothe sampling RGB value. A data volume corresponding to any onecalibration RGB difference value is related to a specific value of thecalibration RGB difference value. For example, a value rangecorresponding to a signed number of 4 bit is [-8, 7]. Therefore, when acalibration RGB difference value corresponding to a certain sampling RGBvalue is 6, the calibration RGB difference value may be represented by asigned number of 4 bit. That is, the data volume corresponding to thecalibration RGB difference value is 4bit, and the value rangecorresponding to a signed number of 6 bit is [-32, 31]. Therefore, whena calibration RGB difference value corresponding to a certain samplingRGB value is -19, the calibration RGB difference value may berepresented by a signed number of 6 bit. That is, the data volumecorresponding to the calibration RGB difference value is 6 bit. For anyone sampling gray scale value contained in any one color channel, acalibration gray scale difference value corresponding to the samplinggray scale value is a difference value between the sampling gray scalevalue and the calibration gray scale value corresponding to the samplinggray scale value, and the data volume corresponding to any onecalibration gray scale difference value is related to the calibrationgray scale difference value. For example, when a calibration gray scaledifference value corresponding to a certain sampling gray scale value is-5, the calibration gray scale difference value may be represented by asigned number of 4 bit. That is, the data volume corresponding to thecalibration gray scale difference value is 4 bit. For any one samplinggray scale value contained in any one color channel, a high calibrationgray scale difference value corresponding to the sampling gray scalevalue is a difference value between the sampling gray scale value and ahigh calibration gray scale value corresponding to the sampling grayscale value, a low calibration gray scale difference value correspondingto the sampling gray scale value is a difference value between thesampling gray scale value and a low calibration gray scale valuecorresponding to the sampling gray scale value, the data volumecorresponding to any one high calibration gray scale difference value isrelated to the high calibration gray scale difference value, and thedata volume corresponding to any one low calibration gray scaledifference value is related to the low calibration gray scale differencevalue. For example, when a high calibration gray scale difference valuecorresponding to a certain sampling gray scale value is 20, the highcalibration gray scale difference value may be represented by a signednumber of 6 bit. That is, the data volume corresponding to the highcalibration gray scale difference value is 6 bit. When a low calibrationgray scale difference value corresponding to a certain sampling grayscale value is 5, the high calibration gray scale difference value maybe represented by a signed number of 4 bit. That is, the data volumecorresponding to the high calibration gray scale difference value is 4bit.

In the example of the present application, when desiring the targetdisplay apparatus to output and display an image to be displayed, a usermay input a corresponding instruction to a target terminal apparatuscontaining the target display apparatus. After receiving the instructioninput by the user, the target terminal apparatus sends the image to bedisplayed to the target IP module in the target TCON chip. At thismoment, the acquisition unit 11 in the target IP module may obtain theimage to be displayed. The plurality of sampling RGB values (or theplurality of sampling gray scale values contained in each color channel)recorded in the target look-up table are determined according to a colorbit depth of the target display apparatus. Therefore, after theacquisition unit 11 obtains the image to be displayed, the firstdetermination unit 12 needs to perform color depth conversion processingon the image to be displayed, i.e. determines a converted RGB valuecorresponding to each pixel point according to an original RGB valuecorresponding to each pixel point contained in the image to bedisplayed. After the first determination unit 12 determines theconverted RGB value corresponding to each pixel point according to theoriginal RGB value corresponding to each pixel point, the seconddetermination unit 13 may determine a calibration RGB difference valuecorresponding to each pixel point according to the converted RGB valuecorresponding to each pixel point and a target look-up table. After thesecond determination unit 13 determines the calibration RGB differencevalue corresponding to each pixel point according to the converted RGBvalue corresponding to each pixel point and the target look-up table,the third determination unit 14 may determine a calibration RGB valuecorresponding to each pixel point according to the converted RGB valueand the calibration RGB difference value corresponding to each pixelpoint. After the third determination unit 14 determines the calibrationRGB value corresponding to each pixel point according to the convertedRGB value and the calibration RGB difference value corresponding to eachpixel point, the output unit 15 may output and display the image to bedisplayed according to the calibration RGB value corresponding to eachpixel point, i.e. control the target display apparatus to output anddisplay the image to be displayed according to the calibration RGB valuecorresponding to each pixel point, thereby completing the colorcalibration processing of the image to be displayed.

An example of the present application provides an image processingdevice. The image processing device provided in the example of thepresent application includes: an acquisition unit, a first determinationunit, a second determination unit, a third determination unit, and anoutput unit. Firstly, the acquisition unit acquires an image to bedisplayed. Secondly, the first determination unit determines a convertedRGB value corresponding to each pixel point according to an original RGBvalue corresponding to each pixel point contained in the image to bedisplayed. Again, the second determination unit determines a calibrationRGB difference value corresponding to each pixel point according to theconverted RGB value corresponding to each pixel point and a targetlook-up table. Then, the third determination unit determines acalibration RGB value corresponding to each pixel point according to theconverted RGB value and the calibration RGB difference valuecorresponding to each pixel point. Finally, the output unit outputs anddisplays the image to be displayed according to the calibration RGBvalue corresponding to each pixel point. In the example of the presentapplication, it is not necessary to record a plurality of sampling RGBvalues and a calibration RGB value corresponding to each sampling RGBvalue in the target look-up table, but to record a plurality of samplingRGB values and a calibration RGB difference value corresponding to eachsampling RGB value, or to record a plurality of sampling gray scalevalues contained in each color channel and a calibration gray scaledifference value corresponding to each sampling gray scale value, or torecord a plurality of sampling gray scale values contained in each colorchannel and a calibration gray scale difference value and a lowcalibration gray scale difference value corresponding to each samplinggray scale value. A data volume corresponding to any one calibration RGBdifference value is related to a specific value of the calibration RGBdifference value, a data volume corresponding to any one calibrationgray scale difference value is related to the calibration gray scaledifference value, a data volume corresponding to any one highcalibration gray scale difference value is related to the highcalibration gray scale difference value, and a data volume correspondingto any one low calibration gray scale difference value is related to thelow calibration gray scale difference value. Therefore, the data volumeof the target look-up table can be effectively reduced, whereby thetarget TCON chip can use a small-capacity RAM to store the targetlook-up table. Furthermore, the manufacturing cost of the target TCONchip can be effectively reduced.

In order to explain in more detail below, an example of the presentapplication provides another image processing method. Specifically asshown in FIG. 2 , the method is applied to an IP module in a target TCONchip. The method includes:

-   An example of the present application also provides another image    processing device which is specifically applied to a target IP    module in a target TCON chip. The target IP module is specifically:    a Gamma module or a VAC module. As shown in FIG. 2 , the following    is explained in conjunction with FIG. 2 :-   Further, as shown in FIG. 2 , the first determination unit 12    includes: a first determination module 121, configured to determine    whether color depth conversion processing is required or not    according to a color bit depth corresponding to the image to be    displayed and a color bit depth corresponding to a target display    apparatus, the target display apparatus being a display apparatus    where the target TCON chip is located; a calculation module 122,    configured to calculate the converted RGB value corresponding to    each pixel point according to a preset algorithm, the color bit    depth corresponding to the image to be displayed, the color bit    depth corresponding to the target display apparatus, and the    original RGB value corresponding to each pixel point when the first    determination module 121 determines that color depth conversion    processing is required; and a second determination module 123,    configured to determine the original RGB value corresponding to each    pixel point as the converted RGB value corresponding to each pixel    point when the first determination module 121 determines that color    depth conversion processing is not required.

In the example of the present application, the specific process ofdetermining, by the first determination unit 12, a converted RGB valuecorresponding to each pixel point according to an original RGB valuecorresponding to each pixel point is as follows:

-   (1) Firstly, the first determination module 121 determines whether    color depth conversion processing is required or not according to a    color bit depth corresponding to the image to be displayed and a    color bit depth corresponding to a target display apparatus, i.e.    determines whether the color bit depth corresponding to the image to    be displayed and the color bit depth corresponding to the target    display apparatus are the same or not. If the color bit depth    corresponding to the image to be displayed and the color bit depth    corresponding to the target display apparatus are different, it is    determined that color depth conversion processing is required. If    the color bit depth corresponding to the image to be displayed and    the color bit depth corresponding to the target display apparatus    are the same, it is determined that color depth conversion    processing is not required. The target display apparatus is a    display apparatus where the target TCON chip is located.-   (2a) If the first determination module 121 determines that color    depth conversion processing is required, the calculation module 122    calculates the converted RGB value corresponding to each pixel point    according to the preset algorithm, the color bit depth corresponding    to the image to be displayed, the color bit depth corresponding to    the target display apparatus, and the original RGB value    corresponding to each pixel point. The preset algorithm is    specifically a linear interpolation method. The specific process is:    firstly, determining a gray scale range corresponding to each color    channel of the image to be displayed according to the color bit    depth corresponding to the image to be displayed, determining a    maximum gray scale value and a minimum gray scale value    corresponding to each color channel of the image to be displayed    according to the gray scale range corresponding to each color    channel of the image to be displayed, then determining a gray scale    range corresponding to each color channel of the target display    apparatus according to the color bit depth corresponding to the    target display apparatus, and determining a maximum gray scale value    and a minimum gray scale value corresponding to each color channel    of the target display apparatus according to the gray scale range    corresponding to each color channel of the target display apparatus.    For example, when the color bit depth corresponding to the image to    be displayed is 10 bit, the gray scale range corresponding to each    color channel of the image to be displayed is [0, 1023]. That is,    the maximum gray scale value corresponding to each color channel of    the image to be displayed is 1023, and the minimum gray scale value    is 0. When the color bit depth corresponding to the target display    apparatus is 12 bit, the gray scale range corresponding to each    color channel of the target display apparatus is [0, 4095]. That is,    the maximum gray scale value corresponding to each color channel of    the target display apparatus is 4095, and the minimum gray scale    value is 0.

For any one pixel point, an original gray scale value corresponding toeach color channel of the pixel point is firstly determined according tothe original RGB value corresponding to the pixel point. That is, anoriginal gray scale value corresponding to a red color channel (i.e. anoriginal R value corresponding to the pixel point), an original grayscale value corresponding to a green color channel (i.e. an original Gvalue corresponding to the pixel point) and an original gray scale valuecorresponding to a blue color channel (i.e. an original B valuecorresponding to the pixel point) of the pixel point are determinedaccording to the original RGB value corresponding to the pixel point.Then the original R value corresponding to the pixel point, the maximumgray scale value and the minimum gray scale value corresponding to eachcolor channel of the image to be displayed, and the maximum gray scalevalue and the minimum gray scale value corresponding to each colorchannel of the target display apparatus are substituted into a presetlinear interpolation formula so as to calculate a converted R valuecorresponding to the pixel point. The original G value corresponding tothe pixel point, the maximum gray scale value and the minimum gray scalevalue corresponding to each color channel of the image to be displayed,and the maximum gray scale value and the minimum gray scale valuecorresponding to each color channel of the target display apparatus aresubstituted into the preset linear interpolation formula so as tocalculate a converted G value corresponding to the pixel point. Theoriginal B value corresponding to the pixel point, the maximum grayscale value and the minimum gray scale value corresponding to each colorchannel of the image to be displayed, and the maximum gray scale valueand the minimum gray scale value corresponding to each color channel ofthe target display apparatus are substituted into the preset linearinterpolation formula so as to calculate a converted B valuecorresponding to the pixel point. Finally, the converted RGB valuecorresponding to the pixel point is determined according to theconverted R value, the converted G value and the converted B valuecorresponding to the pixel point. The preset linear interpolationformula is specifically as follows:

$\frac{y - y_{0}}{y_{1} - y_{0}} = \frac{x - x_{0}}{x_{1} - x_{0}}$

where y is a converted gray scale value corresponding to a certain colorchannel of the pixel point, x is an original gray scale valuecorresponding to a certain color channel of the pixel point, y₁ is amaximum gray scale value corresponding to each color channel of thetarget display apparatus, x₁ is a maximum gray scale value correspondingto each color channel of the image to be displayed, y₀ is a minimum grayscale value corresponding to each color channel of the target displayapparatus, and x₀ is a minimum gray scale value corresponding to eachcolor channel of the image to be displayed.

(2b) If the first determination module 121 determines that color depthconversion processing is not required, the second determination module123 determines the original RGB value corresponding to each pixel pointas the converted RGB value corresponding to each pixel point.

Further, as shown in FIG. 2 , when the target IP module is specificallya Gamma module or a VAC module and a plurality of sampling RGB valuesand a calibration RGB difference value corresponding to each samplingRGB value are specifically recorded in the target look-up table, thespecific process of determining, by the second determination unit 13, acalibration RGB difference value corresponding to each pixel pointaccording to the converted RGB value corresponding to each pixel pointand a target look-up table is as follows:

For any one pixel point, it is firstly determined, according to theconverted RGB value corresponding to the pixel point, whether a targetsampling RGB value corresponding to the pixel point exists in the targetlook-up table or not. That is, the target look-up table is looked up todetermine whether a sampling RGB value with the same value as theconverted RGB value corresponding to the pixel point exists or not.

If the target sampling RGB value corresponding to the pixel pointexists, the target look-up table is looked up for a calibration RGBdifference value corresponding to the target sampling RGB value, and thecalibration RGB difference value corresponding to the target samplingRGB value is determined as a calibration RGB difference valuecorresponding to the pixel point.

If the target sampling RGB value corresponding to the pixel point doesnot exist, the target look-up table is looked up for a calibration RGBdifference value corresponding to a first adjacent sampling RGB valueand a calibration RGB difference value corresponding to a secondadjacent sampling RGB value, and the calibration RGB difference valuecorresponding to the first adjacent sampling RGB value and thecalibration RGB difference value corresponding to the second adjacentsampling RGB value are determined as the calibration RGB differencevalue corresponding to the pixel point. The first adjacent sampling RGBvalue is a sampling RGB value, smaller than but closest to the convertedRGB value corresponding to the pixel point, among the plurality ofsampling RGB values recorded in the target look-up table, and the secondadjacent sampling RGB value is a sampling RGB value, greater than butclosest to the converted RGB value corresponding to the pixel point,among the plurality of sampling RGB values recorded in the targetlook-up table.

Further, as shown in FIG. 2 , when the target IP module is specificallya Gamma module or a VAC module and a plurality of sampling gray scalevalues contained in each color channel and a calibration gray scaledifference value corresponding to each sampling gray scale value arespecifically recorded in the target look-up table, the specific processof determining, by the second determination unit 13, a calibration RGBdifference value corresponding to each pixel point according to theconverted RGB value corresponding to each pixel point and a targetlook-up table is as follows:

For any one pixel point, a converted gray scale value corresponding toeach color channel of the pixel point is firstly determined according toa converted RGB value corresponding to the pixel point. That is, aconverted gray scale value corresponding to a red color channel of thepixel point (i.e. a converted R value corresponding to the pixel point),a converted gray scale value corresponding to a green color channel(i.e. a converted G value corresponding to the pixel point) and aconverted gray scale value corresponding to a blue color channel (i.e. aconverted B value corresponding to the pixel point) are determinedaccording to the converted RGB value corresponding to the pixel point.

Then a calibration gray scale difference value corresponding to eachcolor channel of the pixel point is determined according to theconverted gray scale value corresponding to each color channel of thepixel point and the target look-up table: it is firstly determined,according to the converted gray scale value corresponding to each colorchannel of the pixel point, whether a target sampling gray scale valuecorresponding to each color channel of the pixel point exists or not inthe target look-up table, i.e. it is determined whether a sampling grayscale value identical to the value of the converted gray scale valuecorresponding to the red channel of the pixel point exists or not in theplurality of sampling gray scale values contained in the red channelrecorded in the target look-up table, and if so, the found sampling grayscale value is determined as a target sampling gray scale valuecorresponding to the red channel of the pixel point; it is determinedwhether a sampling gray scale value identical to the value of theconverted gray scale value corresponding to the green channel of thepixel point exists or not in the plurality of sampling gray scale valuescontained in the green channel recorded in the target look-up table, andif so, the found sampling gray scale value is determined as a targetsampling gray scale value corresponding to the green channel of thepixel point; and it is determined whether a sampling gray scale valueidentical to the value of the converted gray scale value correspondingto the blue channel of the pixel point exists or not in the plurality ofsampling gray scale values contained in the blue channel recorded in thetarget look-up table, and if so, the found sampling gray scale value isdetermined as a target sampling gray scale value corresponding to theblue channel of the pixel point.

For any one color channel of the pixel point, if the target samplinggray scale value corresponding to the color channel exists, the targetlook-up table is looked up for a calibration gray scale difference valuecorresponding to the target sampling gray scale value, and thecalibration gray scale difference value corresponding to the targetsampling gray scale value is determined as a calibration gray scaledifference value corresponding to the color channel. If the targetsampling gray scale value corresponding to the color channel does notexist, the target look-up table is looked up for a calibration grayscale difference value corresponding to a first adjacent sampling grayscale value and a calibration gray scale difference value correspondingto a second adjacent sampling gray scale value, and the calibration grayscale difference value corresponding to the first adjacent sampling grayscale value and the calibration gray scale difference valuecorresponding to the second adjacent sampling gray scale value aredetermined as the calibration gray scale difference value correspondingto the color channel. The first adjacent sampling gray scale value is asampling gray scale value, smaller than but closest to a converted grayscale value corresponding to the color channel of the pixel point, amongthe plurality of sampling gray scale values contained in the colorchannel recorded in the target look-up table. The second adjacentsampling gray scale value is a sampling gray scale value, greater thanbut closest to the converted gray scale value corresponding to the colorchannel of the pixel point, among the plurality of sampling gray scalevalues contained in the color channel recorded in the target look-uptable.

Finally, the calibration gray scale difference values corresponding tothe plurality of color channels of the pixel point are determined as acalibration RGB difference value corresponding to the pixel point. Thatis, the calibration gray scale difference value corresponding to the redchannel, the calibration gray scale difference value corresponding tothe green channel and the calibration gray scale difference valuecorresponding to the blue channel of the pixel point are determined asthe calibration RGB difference value corresponding to the pixel point.

Further, as shown in FIG. 2 , when the target IP module is specificallya VAC module and a plurality of sampling gray scale values contained ineach color channel and a high calibration gray scale difference valueand a low calibration gray scale difference value corresponding to eachsampling gray scale value are specifically recorded in the targetlook-up table, the specific process of determining, by the seconddetermination unit 13, a calibration RGB difference value correspondingto each pixel point according to the converted RGB value correspondingto each pixel point and a target look-up table is as follows:

For any one pixel point, a converted gray scale value corresponding toeach color channel of the pixel point is firstly determined according toa converted RGB value corresponding to the pixel point. That is, aconverted gray scale value corresponding to a red color channel of thepixel point (i.e. a converted R value corresponding to the pixel point),a converted gray scale value corresponding to a green color channel(i.e. a converted G value corresponding to the pixel point) and aconverted gray scale value corresponding to a blue color channel (i.e. aconverted B value corresponding to the pixel point) are determinedaccording to the converted RGB value corresponding to the pixel point.

Then a high calibration gray scale difference value and a lowcalibration gray scale difference value corresponding to each colorchannel of the pixel point are determined according to the convertedgray scale value corresponding to each color channel of the pixel pointand the target look-up table: it is firstly determined, according to theconverted gray scale value corresponding to each color channel of thepixel point, whether a target sampling gray scale value corresponding toeach color channel of the pixel point exists or not in the targetlook-up table, i.e. it is determined whether a sampling gray scale valueidentical to the value of the converted gray scale value correspondingto the red channel of the pixel point exists or not in the plurality ofsampling gray scale values contained in the red channel recorded in thetarget look-up table, and if so, the found sampling gray scale value isdetermined as a target sampling gray scale value corresponding to thered channel of the pixel point; it is determined whether a sampling grayscale value identical to the value of the converted gray scale valuecorresponding to the green channel of the pixel point exists or not inthe plurality of sampling gray scale values contained in the greenchannel recorded in the target look-up table, and if so, the foundsampling gray scale value is determined as a target sampling gray scalevalue corresponding to the green channel of the pixel point; and it isdetermined whether a sampling gray scale value identical to the value ofthe converted gray scale value corresponding to the blue channel of thepixel point exists or not in the plurality of sampling gray scale valuescontained in the blue channel recorded in the target look-up table, andif so, the found sampling gray scale value is determined as a targetsampling gray scale value corresponding to the blue channel of the pixelpoint.

For any one color channel of the pixel point, if the target samplinggray scale value corresponding to the color channel exists, the targetlook-up table is looked up for a high calibration gray scale differencevalue and a low calibration gray scale difference value corresponding tothe target sampling gray scale value, and the high calibration grayscale difference value and the low calibration gray scale differencevalue corresponding to the target sampling gray scale value aredetermined as a high calibration gray scale difference value and a lowcalibration gray scale difference value corresponding to the colorchannel. If the target sampling gray scale value corresponding to thecolor channel does not exist, the target look-up table is looked up fora high calibration gray scale difference value and a low calibrationgray scale difference value corresponding to a first adjacent samplinggray scale value and a high calibration gray scale difference value anda low calibration gray scale difference value corresponding to a secondadjacent sampling gray scale value, and the high calibration gray scaledifference value and the low calibration gray scale difference valuecorresponding to the first adjacent sampling gray scale value and thehigh calibration gray scale difference value and the low calibrationgray scale difference value corresponding to the second adjacentsampling gray scale value are determined as the high calibration grayscale difference value and the low calibration gray scale differencevalue corresponding to the color channel. The first adjacent samplinggray scale value is a sampling gray scale value, smaller than butclosest to a converted gray scale value corresponding to the colorchannel of the pixel point, among the plurality of sampling gray scalevalues contained in the color channel recorded in the target look-uptable. The second adjacent sampling gray scale value is a sampling grayscale value, greater than but closest to the converted gray scale valuecorresponding to the color channel of the pixel point, among theplurality of sampling gray scale values contained in the color channelrecorded in the target look-up table.

Finally, the high calibration gray scale difference values and the lowcalibration gray scale difference values corresponding to the pluralityof color channels of the pixel point are determined as a calibration RGBdifference value corresponding to the pixel point. That is, the highcalibration gray scale difference value and the low calibration grayscale difference value corresponding to the red channel, the highcalibration gray scale difference value and the low calibration grayscale difference value corresponding to the green channel and the highcalibration gray scale difference value and the low calibration grayscale difference value corresponding to the blue channel of the pixelpoint are determined as the calibration RGB difference valuecorresponding to the pixel point.

Further, as shown in FIG. 2 , when the target IP module is specificallya Gamma module or a VAC module and a plurality of sampling RGB valuesand a calibration RGB difference value corresponding to each samplingRGB value are specifically recorded in the target look-up table, thespecific process of determining, by the third determination unit 14, acalibration RGB value corresponding to each pixel point according to theconverted RGB value and the calibration RGB difference valuecorresponding to each pixel point is as follows:

For any one pixel point, when a calibration RGB difference valuecorresponding to the pixel point is specifically a calibration RGBdifference value corresponding to a target sampling RGB value obtainedby look up, a calibration RGB value corresponding to the pixel point iscalculated according to a converted RGB value corresponding to the pixelpoint and the calibration RGB difference value corresponding to thetarget sampling RGB value. That is, a difference value between theconverted RGB value corresponding to the pixel point and the calibrationRGB difference value corresponding to the target sampling RGB value iscalculated, and a calculation result is determined as the calibrationRGB value corresponding to the pixel point.

When the calibration RGB difference value corresponding to the pixelpoint is specifically a calibration RGB difference value correspondingto a first adjacent sampling RGB value and a calibration RGB differencevalue corresponding to a second adjacent sampling RGB value obtained bylook up, a calibration RGB value corresponding to the first adjacentsampling RGB value is calculated according to the first adjacentsampling RGB value and the calibration RGB difference valuecorresponding to the first adjacent sampling RGB value (i.e. adifference value between the first adjacent sampling RGB value and thecalibration RGB difference value corresponding to the first adjacentsampling RGB value is calculated, and a calculation result is determinedas a calibration RGB value corresponding to the first adjacent samplingRGB value), a calibration RGB value corresponding to the second adjacentsampling RGB value is calculated according to the second adjacentsampling RGB value and the calibration RGB difference valuecorresponding to the second adjacent sampling RGB value (i.e. adifference value between the second adjacent sampling RGB value and thecalibration RGB difference value corresponding to the second adjacentsampling RGB value is calculated, and a calculation result is determinedas a calibration RGB value corresponding to the second adjacent samplingRGB value), and then a calibration RGB value corresponding to the pixelpoint is calculated according to a preset algorithm, a converted RGBvalue corresponding to the pixel point, the first adjacent sampling RGBvalue, the calibration RGB value corresponding to the first adjacentsampling RGB value, the second adjacent sampling RGB value, and thecalibration RGB value corresponding to the second adjacent sampling RGBvalue. The preset algorithm is specifically a linear interpolationmethod, i.e. substituting the converted RGB value corresponding to thepixel point, the first adjacent sampling RGB value, the calibration RGBvalue corresponding to the first adjacent sampling RGB value, the secondadjacent sampling RGB value, and the calibration RGB value correspondingto the second adjacent sampling RGB value into a preset linearinterpolation formula so as to calculate a calibration RGB valuecorresponding to the pixel point. The preset linear interpolationformula is specifically as follows:

$\frac{y - y_{0}}{y_{1} - y_{0}} = \frac{x - x_{0}}{x_{1} - x_{0}}$

where y is a calibration RGB value corresponding to the pixel point, xis a converted RGB value corresponding to the pixel point, x₀ is a firstadjacent sampling RGB value, y₀ is a calibration RGB value correspondingto the first adjacent sampling RGB value, x₁ is a second adjacentsampling RGB value, and y₁ is a calibration RGB value corresponding tothe second adjacent sampling RGB value.

Further, as shown in FIG. 2 , when the target IP module is specificallya Gamma module or a VAC module and a plurality of sampling gray scalevalues contained in each color channel and a calibration gray scaledifference value corresponding to each sampling gray scale value arespecifically recorded in the target look-up table, the specific processof determining, by the third determination unit 14, a calibration RGBvalue corresponding to each pixel point according to the converted RGBvalue and the calibration RGB difference value corresponding to eachpixel point is as follows:

For any one pixel point, a calibration gray scale value corresponding toeach color channel of the pixel point is calculated according to aconverted gray scale value and a calibration gray scale difference valuecorresponding to each color channel of the pixel point. That is, when acalibration gray scale difference value corresponding to a certain colorchannel of the pixel point is specifically a calibration gray scaledifference value corresponding to a target sampling gray scale valueobtained by look up, a calibration gray scale value corresponding to thecolor channel is calculated according to a converted gray scale valuecorresponding to the color channel and the calibration gray scaledifference value corresponding to the target sampling gray scale value.That is, a difference value between the converted gray scale valuecorresponding to the color channel and the calibration gray scaledifference value corresponding to the target sampling gray scale valueis calculated, and a calculation result is determined as the calibrationgray scale value corresponding to the color channel.

When the calibration gray scale difference value corresponding to acertain color channel of the pixel point is specifically a calibrationgray scale difference value corresponding to a first adjacent samplinggray scale value and a calibration gray scale difference valuecorresponding to a second adjacent sampling gray scale value obtained bylook up, a calibration gray scale value corresponding to the firstadjacent sampling gray scale value is calculated according to the firstadjacent sampling gray scale value and the calibration gray scaledifference value corresponding to the first adjacent sampling gray scalevalue (i.e. a difference value between the first adjacent sampling grayscale value and the calibration gray scale difference valuecorresponding to the first adjacent sampling gray scale value iscalculated, and a calculation result is determined as a calibration grayscale value corresponding to the first adjacent sampling gray scalevalue), a calibration gray scale value corresponding to the secondadjacent sampling gray scale value is calculated according to the secondadjacent sampling gray scale value and the calibration gray scaledifference value corresponding to the second adjacent sampling grayscale value (i.e. a difference value between the second adjacentsampling gray scale value and the calibration gray scale differencevalue corresponding to the second adjacent sampling gray scale value iscalculated, and a calculation result is determined as a calibration grayscale value corresponding to the second adjacent sampling gray scalevalue), and then a calibration gray scale value corresponding to thepixel point is calculated according to a preset algorithm, a convertedgray scale value corresponding to the pixel point, the first adjacentsampling gray scale value, the calibration gray scale valuecorresponding to the first adjacent sampling gray scale value, thesecond adjacent sampling gray scale value, and the calibration grayscale value corresponding to the second adjacent sampling gray scalevalue. The preset algorithm is specifically a linear interpolationmethod, i.e. substituting the converted gray scale value correspondingto the color channel, the first adjacent sampling gray scale value, thecalibration gray scale value corresponding to the first adjacentsampling gray scale value, the second adjacent sampling gray scalevalue, and the calibration gray scale value corresponding to the secondadjacent sampling gray scale value into a preset linear interpolationformula so as to calculate a calibration gray scale value correspondingto the color channel. The preset linear interpolation formula isspecifically as follows:

$\frac{y - y_{0}}{y_{1} - y_{0}} = \frac{x - x_{0}}{x_{1} - x_{0}}$

where y is a calibration gray scale value corresponding to the colorchannel, x is a converted gray scale value corresponding to the colorchannel, x₀ is a first adjacent sampling gray scale value, y₀ is acalibration gray scale value corresponding to the first adjacentsampling gray scale value, x₁ is a second adjacent sampling gray scalevalue, and y₁ is a calibration gray scale value corresponding to thesecond adjacent sampling gray scale value.

After determining the calibration gray scale value corresponding to eachcolor channel of the pixel point, the calibration gray scale differencevalues corresponding to the plurality of color channels of the pixelpoint are determined as a calibration RGB difference value correspondingto the pixel point. That is, the calibration gray scale difference valuecorresponding to the red channel, the calibration gray scale differencevalue corresponding to the green channel and the calibration gray scaledifference value corresponding to the blue channel of the pixel pointare determined as the calibration RGB difference value corresponding tothe pixel point.

Further, as shown in FIG. 2 , when the target IP module is specificallya VAC module and a plurality of sampling gray scale values contained ineach color channel and a high calibration gray scale difference valueand a low calibration gray scale difference value corresponding to eachsampling gray scale value are specifically recorded in the targetlook-up table, the specific process of determining, by the thirddetermination unit 14, a calibration RGB value corresponding to eachpixel point according to the converted RGB value and the calibration RGBdifference value corresponding to each pixel point is as follows:

For any one pixel point, a high calibration gray scale value and a lowcalibration gray scale value corresponding to each color channel of thepixel point are firstly calculated according to a converted gray scalevalue, a high calibration gray scale difference value and a lowcalibration gray scale difference value corresponding to each colorchannel of the pixel point. Then, a calibration gray scale valuecorresponding to each color channel of the pixel point is calculatedaccording to the high calibration gray scale value and the lowcalibration gray scale value corresponding to each color channel of thepixel point. That is, when a high calibration gray scale differencevalue and a low calibration gray scale difference value corresponding toa certain color channel of the pixel point are specifically a highcalibration gray scale difference value and a low calibration gray scaledifference value corresponding to a target sampling gray scale valueobtained by look up, a high calibration gray scale value correspondingto the color channel is calculated according to a converted gray scalevalue corresponding to the color channel and the high calibration grayscale difference value corresponding to the target sampling gray scalevalue (i.e. a difference value between the converted gray scale valuecorresponding to the color channel and the high calibration gray scaledifference value corresponding to the target sampling gray scale valueis calculated, and a calculation result is determined as the highcalibration gray scale value corresponding to the color channel), a lowcalibration gray scale value corresponding to the color channel iscalculated according to the converted gray scale value corresponding tothe color channel and the low calibration gray scale difference valuecorresponding to the target sampling gray scale value (i.e. a differencevalue between the converted gray scale value corresponding to the colorchannel and the low calibration gray scale difference valuecorresponding to the target sampling gray scale value is calculated, anda calculation result is determined as the low calibration gray scalevalue corresponding to the color channel), and a calibration gray scalevalue corresponding to the color channel is calculated according to thehigh calibration gray scale value and the low calibration gray scalevalue corresponding to the color channel.

When the high calibration gray scale difference value and the lowcalibration gray scale difference value corresponding to a certain colorchannel of the pixel point are specifically a high calibration grayscale difference value and a low calibration gray scale difference valuecorresponding to a first adjacent sampling gray scale value and a highcalibration gray scale difference value and a low calibration gray scaledifference value corresponding to a second adjacent sampling gray scalevalue obtained by look up, a high calibration gray scale valuecorresponding to the first adjacent sampling gray scale value iscalculated according to the first adjacent sampling gray scale value andthe high calibration gray scale difference value corresponding to thefirst adjacent sampling gray scale value (i.e. a difference valuebetween the first adjacent sampling gray scale value and the highcalibration gray scale difference value corresponding to the firstadjacent sampling gray scale value is calculated, and a calculationresult is determined as a high calibration gray scale valuecorresponding to the first adjacent sampling gray scale value), a lowcalibration gray scale value corresponding to the first adjacentsampling gray scale value is calculated according to the first adjacentsampling gray scale value and the low calibration gray scale differencevalue corresponding to the first adjacent sampling gray scale value(i.e. a difference value between the first adjacent sampling gray scalevalue and the low calibration gray scale difference value correspondingto the first adjacent sampling gray scale value is calculated, and acalculation result is determined as a low calibration gray scale valuecorresponding to the first adjacent sampling gray scale value), a highcalibration gray scale value corresponding to the second adjacentsampling gray scale value is calculated according to the second adjacentsampling gray scale value and the high calibration gray scale differencevalue corresponding to the second adjacent sampling gray scale value(i.e. a difference value between the second adjacent sampling gray scalevalue and the high calibration gray scale difference value correspondingto the second adjacent sampling gray scale value is calculated, and acalculation result is determined as a high calibration gray scale valuecorresponding to the second adjacent sampling gray scale value), and alow calibration gray scale value corresponding to the second adjacentsampling gray scale value is calculated according to the second adjacentsampling gray scale value and the low calibration gray scale differencevalue corresponding to the second adjacent sampling gray scale value(i.e. a difference value between the second adjacent sampling gray scalevalue and the low calibration gray scale difference value correspondingto the second adjacent sampling gray scale value is calculated, and acalculation result is determined as a low calibration gray scale valuecorresponding to the second adjacent sampling gray scale value). Then acalibration gray scale value corresponding to the first adjacentsampling gray scale value is calculated according to the highcalibration gray scale value and the low calibration gray scale valuecorresponding to the first adjacent sampling gray scale value, and acalibration gray scale value corresponding to the second adjacentsampling gray scale value is calculated according to the highcalibration gray scale value and the low calibration gray scale valuecorresponding to the second adjacent sampling gray scale value. Finally,a calibration gray scale value corresponding to the pixel point iscalculated according to a preset algorithm, a converted gray scale valuecorresponding to the pixel point, the first adjacent sampling gray scalevalue, the calibration gray scale value corresponding to the firstadjacent sampling gray scale value, the second adjacent sampling grayscale value, and the calibration gray scale value corresponding to thesecond adjacent sampling gray scale value. The preset algorithm isspecifically a linear interpolation method, i.e. substituting theconverted gray scale value corresponding to the color channel, the firstadjacent sampling gray scale value, the calibration gray scale valuecorresponding to the first adjacent sampling gray scale value, thesecond adjacent sampling gray scale value, and the calibration grayscale value corresponding to the second adjacent sampling gray scalevalue into a preset linear interpolation formula so as to calculate acalibration gray scale value corresponding to the color channel. Thepreset linear interpolation formula is specifically as follows:

$\frac{y - y_{0}}{y_{1} - y_{0}} = \frac{x - x_{0}}{x_{1} - x_{0}}$

where y is a calibration gray scale value corresponding to the colorchannel, x is a converted gray scale value corresponding to the colorchannel, x₀ is a first adjacent sampling gray scale value, y₀ is acalibration gray scale value corresponding to the first adjacentsampling gray scale value, x₁ is a second adjacent sampling gray scalevalue, and y₁ is a calibration gray scale value corresponding to thesecond adjacent sampling gray scale value.

After determining the calibration gray scale value corresponding to eachcolor channel of the pixel point, the calibration gray scale differencevalues corresponding to the plurality of color channels of the pixelpoint are determined as a calibration RGB difference value correspondingto the pixel point. That is, the calibration gray scale difference valuecorresponding to the red channel, the calibration gray scale differencevalue corresponding to the green channel and the calibration gray scaledifference value corresponding to the blue channel of the pixel pointare determined as the calibration RGB difference value corresponding tothe pixel point.

It should be noted that any existing calculation method may be adoptedin the process of calculating, according to a high calibration grayscale value and a low calibration gray scale value corresponding to acertain color channel, a calibration gray scale value corresponding tothe color channel, in the process of calculating, according to a highcalibration gray scale value and a low calibration gray scale valuecorresponding to a certain first adjacent sampling gray scale value, acalibration gray scale value corresponding to the first adjacentsampling gray scale value, and in the process of calculating, accordingto a high calibration gray scale value and a low calibration gray scalevalue corresponding to a certain second adjacent sampling gray scalevalue, a calibration gray scale value corresponding to the secondadjacent sampling gray scale value. This is not specifically limited inthe examples of the present application.

It should be noted that the modules and units described above maybeimplemented by any one of hardware, firmware or software, or acombination thereof. For example, the modules and units can all beimplemented by hardware, for example implemented by circuit. Or, in someembodiments, all the modules and units can be implemented by software asprogram modules or set of instructions. Therefore, the apparatus as awhole may be implemented as programs stored in a non-transitory memory.Or, in some embodiments, according to application scenarios, parts ofthe modules and units can be implemented by software and parts of themodules and units can be implemented by hardware or firmware. In thatcase, the apparatus as a whole may be implemented as a device withhardware (circuit) and storage medium.

In order to achieve the above-mentioned object, according to anotheraspect of the present application, an example of the present applicationalso provides a timing control device, including: the above-mentionedimage processing device.

In order to achieve the above-mentioned object, according to anotheraspect of the present application, an example of the present applicationalso provides a display device, including: the above-mentioned timingcontrol device.

Further, as an implementation of the above-mentioned devices shown inFIGS. 1 and 2 , another example of the present application also providesan image processing method. The method may be specifically applied to atarget IP module in a target TCON chip. The target IP module isspecifically: a Gamma module or a VAC module. The method examplecorresponds to the foregoing device example. In order to facilitatereading, this method example will not describe the details in theforegoing device example. However, it should be clear that the method inthis example can correspondingly implement all the contents in theforegoing device example. The method is applied to reduce the datavolume of a look-up table, thereby reducing the manufacturing cost of aTCON chip. Specifically as shown in FIG. 3 , the method includes thefollowing steps:

-   Step 201: Acquire an image to be displayed. The image to be    displayed contains a plurality of pixel points.-   Step 202: Determine a converted RGB value corresponding to each    pixel point according to an original RGB value corresponding to each    pixel point.-   Step 203: Determine a calibration RGB difference value corresponding    to each pixel point according to the converted RGB value    corresponding to each pixel point and a target look-up table.-   Step 204: Determine a calibration RGB value corresponding to each    pixel point according to the converted RGB value and the calibration    RGB difference value corresponding to each pixel point.-   Step 205: Output and display the image to be displayed according to    the calibration RGB value corresponding to each pixel point.

Further, step 202 of determining a converted RGB value corresponding toeach pixel point according to an original RGB value corresponding toeach pixel point includes:

-   determining whether color depth conversion processing is required or    not according to a color bit depth corresponding to the image to be    displayed and a color bit depth corresponding to a target display    apparatus, the target display apparatus being a display apparatus    where the target TCON chip is located;-   if so, calculating the converted RGB value corresponding to each of    the pixel points according to a preset algorithm, the color bit    depth corresponding to the image to be displayed, the color bit    depth corresponding to the target display apparatus, and the    original RGB value corresponding to each of the pixel points; and-   if not, determining the converted RGB value corresponding to each of    the pixel points according to the original RGB value corresponding    to each of the pixel points.

Further, the target IP module is specifically a Gamma module or a VACmodule, and a plurality of sampling RGB values and a calibration RGBdifference value corresponding to each sampling RGB value arespecifically recorded in the target look-up table. Step 203 ofdetermining a calibration RGB difference value corresponding to eachpixel point according to the converted RGB value corresponding to eachpixel point and a target look-up table includes:

-   determining whether a target sampling RGB value corresponding to the    pixel point exists or not in the target look-up table according to    the converted RGB value corresponding to the pixel point;-   looking up the target look-up table for a calibration RGB difference    value corresponding to the target sampling RGB value if the target    sampling RGB value corresponding to the pixel point exists, and    determining the calibration RGB difference value corresponding to    the target sampling RGB value as a calibration RGB difference value    corresponding to the pixel point;-   looking up the target look-up table for a calibration RGB difference    value corresponding to a first adjacent sampling RGB value and a    calibration RGB difference value corresponding to a second adjacent    sampling RGB value if the target sampling RGB value corresponding to    the pixel point does not exist, the first adjacent sampling RGB    value being a sampling RGB value, smaller than but closest to the    converted RGB value corresponding to the pixel point, among the    plurality of sampling RGB values, and the second adjacent sampling    RGB value being a sampling RGB value, greater than but closest to    the converted RGB value corresponding to the pixel point, among the    plurality of sampling RGB values; and determining the calibration    RGB difference value corresponding to the first adjacent sampling    RGB value and the calibration RGB difference value corresponding to    the second adjacent sampling RGB value as the calibration RGB    difference value corresponding to the pixel point.

Further, the target IP module is specifically a Gamma module or a VACmodule, and a plurality of sampling RGB values and a calibration RGBdifference value corresponding to each sampling RGB value arespecifically recorded in the target look-up table. Step 204 ofdetermining a calibration RGB value corresponding to each pixel pointaccording to the converted RGB value and the calibration RGB differencevalue corresponding to each pixel point includes:

-   calculating a calibration RGB value corresponding to the pixel point    according to the converted RGB value corresponding to the pixel    point and the calibration RGB difference value corresponding to the    target sampling RGB value when the calibration RGB difference value    corresponding to the pixel point is specifically the calibration RGB    difference value corresponding to the target sampling RGB value;-   calculating a calibration RGB value corresponding to the first    adjacent sampling RGB value according to the first adjacent sampling    RGB value and the calibration RGB difference value corresponding to    the first adjacent sampling RGB value when the calibration RGB    difference value corresponding to the pixel point is specifically    the calibration RGB difference value corresponding to the first    adjacent sampling RGB value and the calibration RGB difference value    corresponding to the second adjacent sampling RGB value; calculating    a calibration RGB value corresponding to the second adjacent    sampling RGB value according to the second adjacent sampling RGB    value and the calibration RGB difference value corresponding to the    second adjacent sampling RGB value; and calculating a calibration    RGB value corresponding to the pixel point according to the preset    algorithm, the converted RGB value corresponding to the pixel point,    the first adjacent sampling RGB value, the calibration RGB value    corresponding to the first adjacent sampling RGB value, the second    adjacent sampling RGB value, and the calibration RGB value    corresponding to the second adjacent sampling RGB value.

Further, the target IP module is specifically a Gamma module or a VACmodule, and a plurality of sampling gray scale values contained in eachcolor channel and a calibration gray scale difference valuecorresponding to each sampling gray scale value are specificallyrecorded in the target look-up table. Step 203 of determining acalibration RGB difference value corresponding to each pixel pointaccording to the converted RGB value corresponding to each pixel pointand a target look-up table includes:

-   determining a converted gray scale value corresponding to each color    channel of the pixel point according to the converted RGB value    corresponding to the pixel point;-   determining a calibration gray scale difference value corresponding    to each color channel according to the converted gray scale value    corresponding to each color channel of the pixel point and the    target look-up table; and-   determining the calibration gray scale difference values    corresponding to the plurality of color channels of the pixel point    as the calibration RGB difference value corresponding to the pixel    point.

Further, the target IP module is specifically a Gamma module or a VACmodule, and a plurality of sampling gray scale values contained in eachcolor channel and a calibration gray scale difference valuecorresponding to each sampling gray scale value are specificallyrecorded in the target look-up table. Step 204 of determining acalibration RGB value corresponding to each pixel point according to theconverted RGB value and the calibration RGB difference valuecorresponding to each pixel point includes:

-   calculating a calibration gray scale value corresponding to each    color channel of the pixel point according to the converted gray    scale value and the calibration gray scale difference value    corresponding to each color channel of the pixel point; and-   determining the calibration gray scale difference values    corresponding to the plurality of color channels of the pixel point    as the calibration RGB difference value corresponding to the pixel    point.

Further, the target IP module is specifically a VAC module, and aplurality of sampling gray scale values contained in each color channeland a high calibration gray scale difference value and a low calibrationgray scale difference value corresponding to each sampling gray scalevalue are specifically recorded in the target look-up table. Step 203 ofdetermining a calibration RGB difference value corresponding to eachpixel point according to the converted RGB value corresponding to eachpixel point and a target look-up table includes:

-   determining a converted gray scale value corresponding to each color    channel of the pixel point according to the converted RGB value    corresponding to the pixel point;-   determining a high calibration gray scale difference value and a low    calibration gray scale difference value corresponding to each color    channel according to the converted gray scale value corresponding to    each color channel of the pixel point and the target look-up table;    and-   determining the high calibration gray scale difference values and    the low calibration gray scale difference values corresponding to    the plurality of color channels of the pixel point as the    calibration RGB difference value corresponding to the pixel point.

Further, the target IP module is specifically a VAC module, and aplurality of sampling gray scale values contained in each color channeland a high calibration gray scale difference value and a low calibrationgray scale difference value corresponding to each sampling gray scalevalue are specifically recorded in the target look-up table. Step 204 ofdetermining a calibration RGB value corresponding to each pixel pointaccording to the converted RGB value and the calibration RGB differencevalue corresponding to each pixel point includes:

-   calculating a high calibration gray scale value and a low    calibration gray scale value corresponding to each color channel of    the pixel point according to the converted gray scale value, the    high calibration gray scale difference value and the low calibration    gray scale difference value corresponding to each color channel of    the pixel point;-   calculating a calibration gray scale value corresponding to each    color channel of the pixel point according to the high calibration    gray scale value and the low calibration gray scale value    corresponding to each color channel of the pixel point; and-   determining the calibration gray scale difference values    corresponding to the plurality of color channels of the pixel point    as the calibration RGB difference value corresponding to the pixel    point.

Examples of the present application provide an image processing deviceand method. The image processing device provided in the example of thepresent application includes: an acquisition unit, a first determinationunit, a second determination unit, a third determination unit, and anoutput unit. Firstly, the acquisition unit acquires an image to bedisplayed. Secondly, the first determination unit determines a convertedRGB value corresponding to each pixel point according to an original RGBvalue corresponding to each pixel point contained in the image to bedisplayed. Again, the second determination unit determines a calibrationRGB difference value corresponding to each pixel point according to theconverted RGB value corresponding to each pixel point and a targetlook-up table. Then, the third determination unit determines acalibration RGB value corresponding to each pixel point according to theconverted RGB value and the calibration RGB difference valuecorresponding to each pixel point. Finally, the output unit outputs anddisplays the image to be displayed according to the calibration RGBvalue corresponding to each pixel point. In the examples of the presentapplication, it is not necessary to record a plurality of sampling RGBvalues and a calibration RGB value corresponding to each sampling RGBvalue in the target look-up table, but to record a plurality of samplingRGB values and a calibration RGB difference value corresponding to eachsampling RGB value, or to record a plurality of sampling gray scalevalues contained in each color channel and a calibration gray scaledifference value corresponding to each sampling gray scale value, or torecord a plurality of sampling gray scale values contained in each colorchannel and a calibration gray scale difference value and a lowcalibration gray scale difference value corresponding to each samplinggray scale value. A data volume corresponding to any one calibration RGBdifference value is related to a specific value of the calibration RGBdifference value, a data volume corresponding to any one calibrationgray scale difference value is related to the calibration gray scaledifference value, a data volume corresponding to any one highcalibration gray scale difference value is related to the highcalibration gray scale difference value, and a data volume correspondingto any one low calibration gray scale difference value is related to thelow calibration gray scale difference value.

Therefore, the data volume of the target look-up table can beeffectively reduced, whereby the target TCON chip can use asmall-capacity RAM to store the target look-up table. Furthermore, themanufacturing cost of the target TCON chip can be effectively reduced.

An example of the present application provides a storage medium,including a stored program. The program, when executed, controls anapparatus where the storage medium is located to perform the imageprocessing method as described above.

The storage medium may include a non-persistent memory, a random accessmemory (RAM), a non-volatile memory, and/or other forms in acomputer-readable medium, such as a read only memory (ROM) or a flashRAM. The memory includes at least one storage chip.

An example of the present application also provides an image processingdevice, including a storage medium and one or more processors. Thestorage medium is coupled to the processor, the processor is configuredto execute a program instruction stored in the storage medium, and theprogram instruction, when executed, performs the image processing methodas described above.

An example of the present application provides an apparatus, including aprocessor, a memory, and a program stored on the memory and executed onthe processor. The processor, when executing the program, implements thefollowing steps:

-   acquiring an image to be displayed, the image to be displayed    containing a plurality of pixel points;-   determining a converted RGB value corresponding to each of the pixel    points according to an original RGB value corresponding to each of    the pixel points;-   determining a calibration RGB difference value corresponding to each    of the pixel points according to the converted RGB value    corresponding to each of the pixel points and a target look-up    table;-   determining a calibration RGB value corresponding to each of the    pixel points according to the converted RGB value and the    calibration RGB difference value corresponding to each of the pixel    points; and-   outputting and displaying the image to be displayed according to the    calibration RGB value corresponding to each of the pixel points.

Further, the determining a converted RGB value corresponding to each ofthe pixel points according to an original RGB value corresponding toeach of the pixel points includes:

-   determining whether color depth conversion processing is required or    not according to a color bit depth corresponding to the image to be    displayed and a color bit depth corresponding to a target display    apparatus, the target display apparatus being a display apparatus    where the target TCON chip is located;-   if so, calculating the converted RGB value corresponding to each of    the pixel points according to a preset algorithm, the color bit    depth corresponding to the image to be displayed, the color bit    depth corresponding to the target display apparatus, and the    original RGB value corresponding to each of the pixel points; and-   if not, determining the converted RGB value corresponding to each of    the pixel points according to the original RGB value corresponding    to each of the pixel points.

Further, a plurality of sampling RGB values and a calibration RGBdifference value corresponding to each of the sampling RGB values arespecifically recorded in the target look-up table. The determining acalibration RGB difference value corresponding to each of the pixelpoints according to the converted RGB value corresponding to each of thepixel points and a target look-up table includes:

-   determining whether a target sampling RGB value corresponding to the    pixel point exists or not in the target look-up table according to    the converted RGB value corresponding to the pixel point; looking up    the target look-up table for a calibration RGB difference value    corresponding to the target sampling RGB value if the target    sampling RGB value corresponding to the pixel point exists; and-   determining the calibration RGB difference value corresponding to    the target sampling RGB value as a calibration RGB difference value    corresponding to the pixel point.

Further, the determining a calibration RGB difference valuecorresponding to each of the pixel points according to the converted RGBvalue corresponding to each of the pixel points and a target look-uptable also includes:

-   looking up the target look-up table for a calibration RGB difference    value corresponding to a first adjacent sampling RGB value and a    calibration RGB difference value corresponding to a second adjacent    sampling RGB value if the target sampling RGB value corresponding to    the pixel point does not exist, the first adjacent sampling RGB    value being a sampling RGB value, smaller than but closest to the    converted RGB value corresponding to the pixel point, among the    plurality of sampling RGB values, and the second adjacent sampling    RGB value being a sampling RGB value, greater than but closest to    the converted RGB value corresponding to the pixel point, among the    plurality of sampling RGB values; and-   determining the calibration RGB difference value corresponding to    the first adjacent sampling RGB value and the calibration RGB    difference value corresponding to the second adjacent sampling RGB    value as the calibration RGB difference value corresponding to the    pixel point.

Further, the determining a calibration RGB value corresponding to eachof the pixel points according to the converted RGB value and thecalibration RGB difference value corresponding to each of the pixelpoints includes:

calculating a calibration RGB value corresponding to the pixel pointaccording to the converted RGB value corresponding to the pixel pointand the calibration RGB difference value corresponding to the targetsampling RGB value when the calibration RGB difference valuecorresponding to the pixel point is specifically the calibration RGBdifference value corresponding to the target sampling RGB value.

Further, the determining a calibration RGB value corresponding to eachof the pixel points according to the converted RGB value and thecalibration RGB difference value corresponding to each of the pixelpoints includes:

-   calculating a calibration RGB value corresponding to the first    adjacent sampling RGB value according to the first adjacent sampling    RGB value and the calibration RGB difference value corresponding to    the first adjacent sampling RGB value when the calibration RGB    difference value corresponding to the pixel point is specifically    the calibration RGB difference value corresponding to the first    adjacent sampling RGB value and the calibration RGB difference value    corresponding to the second adjacent sampling RGB value;-   calculating a calibration RGB value corresponding to the second    adjacent sampling RGB value according to the second adjacent    sampling RGB value and the calibration RGB difference value    corresponding to the second adjacent sampling RGB value; and-   calculating a calibration RGB value corresponding to the pixel point    according to the preset algorithm, the converted RGB value    corresponding to the pixel point, the first adjacent sampling RGB    value, the calibration RGB value corresponding to the first adjacent    sampling RGB value, the second adjacent sampling RGB value, and the    calibration RGB value corresponding to the second adjacent sampling    RGB value.

Further, a plurality of sampling gray scale values contained in eachcolor channel and a calibration gray scale difference valuecorresponding to each of the sampling gray scale values are specificallyrecorded in the target look-up table. The determining a calibration RGBdifference value corresponding to each of the pixel points according tothe converted RGB value corresponding to each of the pixel points and atarget look-up table includes:

-   determining a converted gray scale value corresponding to each color    channel of the pixel point according to the converted RGB value    corresponding to the pixel point;-   determining a calibration gray scale difference value corresponding    to each color channel according to the converted gray scale value    corresponding to each color channel of the pixel point and the    target look-up table; and-   determining the calibration gray scale difference values    corresponding to the plurality of color channels of the pixel point    as the calibration RGB difference value corresponding to the pixel    point.

Further, the determining a calibration RGB value corresponding to eachof the pixel points according to the converted RGB value and thecalibration RGB difference value corresponding to each of the pixelpoints includes:

-   calculating a calibration gray scale value corresponding to each    color channel of the pixel point according to the converted gray    scale value and the calibration gray scale difference value    corresponding to each color channel of the pixel point; and-   determining the calibration gray scale values corresponding to the    plurality of color channels of the pixel point as the calibration    RGB value corresponding to the pixel point.

Further, a plurality of sampling gray scale values contained in eachcolor channel and a high calibration gray scale difference value and alow calibration gray scale difference value corresponding to each of thesampling gray scale values are specifically recorded in the targetlook-up table. The determining a calibration RGB difference valuecorresponding to each of the pixel points according to the converted RGBvalue corresponding to each of the pixel points and a target look-uptable includes:

-   determining a converted gray scale value corresponding to each color    channel of the pixel point according to the converted RGB value    corresponding to the pixel point;-   determining a high calibration gray scale difference value and a low    calibration gray scale difference value corresponding to each color    channel according to the converted gray scale value corresponding to    each color channel of the pixel point and the target look-up table;    and-   determining the high calibration gray scale difference values and    the low calibration gray scale difference values corresponding to    the plurality of color channels of the pixel point as the    calibration RGB difference value corresponding to the pixel point.

Further, the determining a calibration RGB value corresponding to eachof the pixel points according to the converted RGB value and thecalibration RGB difference value corresponding to each of the pixelpoints includes:

-   calculating a high calibration gray scale value and a low    calibration gray scale value corresponding to each color channel of    the pixel point according to the converted gray scale value, the    high calibration gray scale difference value and the low calibration    gray scale difference value corresponding to each color channel of    the pixel point;-   calculating a calibration gray scale value corresponding to each    color channel of the pixel point according to the high calibration    gray scale value and the low calibration gray scale value    corresponding to each color channel of the pixel point; and-   determining the calibration gray scale values corresponding to the    plurality of color channels of the pixel point as the calibration    RGB value corresponding to the pixel point.

The present application also provides a computer program product that,when executed on a data processing apparatus, is adapted to execute aprogram code for initializing the following method steps: acquiring animage to be displayed, the image to be displayed containing a pluralityof pixel points; determining a converted RGB value corresponding to eachof the pixel points according to an original RGB value corresponding toeach of the pixel points; determining a calibration RGB difference valuecorresponding to each of the pixel points according to the converted RGBvalue corresponding to each of the pixel points and a target look-uptable; determining a calibration RGB value corresponding to each of thepixel points according to the converted RGB value and the calibrationRGB difference value corresponding to each of the pixel points; andoutputting and displaying the image to be displayed according to thecalibration RGB value corresponding to each of the pixel points.

Those skilled in the art will appreciate that the examples of thepresent application may be provided as a method, a system, or a computerprogram product. Therefore, the present application may take the form ofan entirely hardware example, an entirely software example, or anexample combining software and hardware. Furthermore, the presentapplication may take the form of a computer program product implementedon one or more computer available storage media (including, but notlimited to, a disk memory, a CD-ROM, an optical memory, etc.) containingcomputer available program codes.

The present application is described with reference to flowcharts and/orblock diagrams of the method, the apparatus (system), and the computerprogram product according to the examples of the present application. Itshould be understood that each flow and/or block in the flowchartsand/or the block diagrams and a combination of the flows and/or theblocks in the flowcharts and/or the block diagrams may be implemented bycomputer program instructions. These computer program instructions maybe provided for a general-purpose computer, a special-purpose computer,an embedded processor, or a processor of another programmable dataprocessing apparatus to generate a machine, whereby a device forachieving functions designated in one or more flows of the flowchartsand/or one or more blocks of the block diagrams is generated viainstructions executed by the computers or the processor of the otherprogrammable data processing apparatus.

These computer program instructions may also be stored in acomputer-readable memory capable of guiding the computers or the otherprogrammable data processing apparatus to operate in a specific manner,whereby a manufactured product including an instruction device isgenerated via the instructions stored in the computer readable memory,and the instruction device achieves the functions designated in one ormore flows of the flowcharts and/or one or more blocks of the blockdiagrams.

These computer program instructions may also be loaded to the computersor the other programmable data processing apparatus, whereby processingimplemented by the computers is generated by executing a series ofoperation steps on the computers or the other programmable apparatus.Thus, the instructions executed on the computers or the otherprogrammable apparatus provide a step of achieving the functionsdesignated in one or more flows of the flowcharts and/or one or moreblocks of the block diagrams.

In a typical configuration, a computing apparatus includes one or morecentral processing units (CPUs), an input/output interface, a networkinterface, and a memory.

The memory may include a non-persistent memory, a random access memory(RAM), a non-volatile memory, and/or other forms in a computer-readablemedium, such as a read only memory (ROM) or a flash RAM. The memory isan example of a computer-readable medium.

The computer-readable medium includes non-volatile and volatile,removable and non-removable media. Information may be stored in any wayor by any technology. Information may be computer-readable instructions,data structures, modules of programs, or other data. Examples of acomputer storage medium include, but are not limited to, a phase-changerandom access memory (PRAM), a static random access memory (SRAM), adynamic random access memory (DRAM), other types of random accessmemories (RAM), a read only memory (ROM), an electrically erasableprogrammable read-only memory (EEPROM), a flash memory or other memorytechnologies, a compact disc - read only memory (CD-ROM), a digitalversatile disc (DVD) or other optical memories, a cassette tape, a tapeand disk memory or other magnetic memories or any other non-transportmedia. The non-volatile storage medium may be configured to storeinformation that may be accessed by a computing apparatus. As definedherein, the computer-readable medium does not include computer-readabletransitory media, such as modulated data signals and carrier waves.

It should also be noted that the terms “including”, “containing” or anyother variations thereof are intended to cover a non-exclusiveinclusion. Thus, a process, method, article, or apparatus including aseries of elements not only includes those elements, but also includesother elements that are not explicitly listed, or also includes elementsinherent to such process, method, article, or apparatus. It is notexcluded, without more constraints, that additional identical elementsexist in the process, method, article, or apparatus including elementsdefined by a statement “including a ... ”.

Those skilled in the art will appreciate that the examples of thepresent application may be provided as a method, a system, or a computerprogram product. Therefore, the present application may take the form ofan entirely hardware example, an entirely software example, or anexample combining software and hardware. Furthermore, the presentapplication may take the form of a computer program product implementedon one or more computer available storage media (including, but notlimited to, a disk memory, a CD-ROM, an optical memory, etc.) containingcomputer available program codes.

The above is merely the examples of the present application and is notintended to limit the present application. Various modifications andvariations of the present application will occur to those skilled in theart. Any modifications, equivalent replacements, improvements, etc. thatcome within the spirit and principles of the present application areintended to be within the scope of the claims appended hereto.

1. An image processing device applied to a target TCON chip, comprising:an acquisition unit, configured to acquire an image to be displayed, theimage to be displayed containing a plurality of pixel points; a firstdetermination unit, configured to determine a converted RGB valuecorresponding to each of the pixel points according to an original RGBvalue corresponding to each of the pixel points; a second determinationunit, configured to determine a calibration RGB difference valuecorresponding to each of the pixel points according to the converted RGBvalue corresponding to each of the pixel points and a target look-uptable; a third determination unit, configured to determine a calibrationRGB value corresponding to each of the pixel points according to theconverted RGB value and the calibration RGB difference valuecorresponding to each of the pixel points; and an output unit,configured to output and display the image to be displayed according tothe calibration RGB value corresponding to each of the pixel points. 2.The device according to claim 1, wherein the first determination unitcomprises: a first determination module, configured to determine whethercolor depth conversion processing is required or not according to acolor bit depth corresponding to the image to be displayed and a colorbit depth corresponding to a target display apparatus, the targetdisplay apparatus being a display apparatus where the target TCON chipis located; a calculation module, configured to calculate the convertedRGB value corresponding to each of the pixel points according to apreset algorithm, the color bit depth corresponding to the image to bedisplayed, the color bit depth corresponding to the target displayapparatus, and the original RGB value corresponding to each of the pixelpoints when the first determination module determines that color depthconversion processing is required; and a second determination module,configured to determine the original RGB value corresponding to each ofthe pixel points as the converted RGB value corresponding to each of thepixel points when the first determination module determines that colordepth conversion processing is not required.
 3. The device according toclaim 1, wherein a plurality of sampling RGB values and a calibrationRGB difference value corresponding to each of the sampling RGB valuesare specifically recorded in the target look-up table; the seconddetermination unit is specifically configured to: determine whether atarget sampling RGB value corresponding to the pixel point exists or notin the target look-up table according to the converted RGB valuecorresponding to the pixel point; look up the target look-up table for acalibration RGB difference value corresponding to the target samplingRGB value if the target sampling RGB value corresponding to the pixelpoint exists; and determine the calibration RGB difference valuecorresponding to the target sampling RGB value as a calibration RGBdifference value corresponding to the pixel point.
 4. The deviceaccording to claim 3, wherein the second determination unit is alsospecifically configured to: look up the target look-up table for acalibration RGB difference value corresponding to a first adjacentsampling RGB value and a calibration RGB difference value correspondingto a second adjacent sampling RGB value if the target sampling RGB valuecorresponding to the pixel point does not exist, the first adjacentsampling RGB value being a sampling RGB value, smaller than but closestto the converted RGB value corresponding to the pixel point, among theplurality of sampling RGB values, and the second adjacent sampling RGBvalue being a sampling RGB value, greater than but closest to theconverted RGB value corresponding to the pixel point, among theplurality of sampling RGB values; and determine the calibration RGBdifference value corresponding to the first adjacent sampling RGB valueand the calibration RGB difference value corresponding to the secondadjacent sampling RGB value as the calibration RGB difference valuecorresponding to the pixel point.
 5. The device according to claim 3,wherein the third determination unit is specifically configured to:calculate a calibration RGB value corresponding to the pixel pointaccording to the converted RGB value corresponding to the pixel pointand the calibration RGB difference value corresponding to the targetsampling RGB value when the calibration RGB difference valuecorresponding to the pixel point is specifically the calibration RGBdifference value corresponding to the target sampling RGB value.
 6. Thedevice according to claim 4, wherein the third determination unit isalso specifically configured to: calculate a calibration RGB valuecorresponding to the first adjacent sampling RGB value according to thefirst adjacent sampling RGB value and the calibration RGB differencevalue corresponding to the first adjacent sampling RGB value when thecalibration RGB difference value corresponding to the pixel point isspecifically the calibration RGB difference value corresponding to thefirst adjacent sampling RGB value and the calibration RGB differencevalue corresponding to the second adjacent sampling RGB value; calculatea calibration RGB value corresponding to the second adjacent samplingRGB value according to the second adjacent sampling RGB value and thecalibration RGB difference value corresponding to the second adjacentsampling RGB value; and calculate a calibration RGB value correspondingto the pixel point according to the preset algorithm, the converted RGBvalue corresponding to the pixel point, the first adjacent sampling RGBvalue, the calibration RGB value corresponding to the first adjacentsampling RGB value, the second adjacent sampling RGB value, and thecalibration RGB value corresponding to the second adjacent sampling RGBvalue.
 7. The device according to claim 1, wherein a plurality ofsampling gray scale values contained in each color channel and acalibration gray scale difference value corresponding to each of thesampling gray scale values are specifically recorded in the targetlook-up table; the second determination unit is specifically configuredto: determine a converted gray scale value corresponding to each colorchannel of the pixel point according to the converted RGB valuecorresponding to the pixel point; determine a calibration gray scaledifference value corresponding to each color channel according to theconverted gray scale value corresponding to each color channel of thepixel point and the target look-up table; and determine the calibrationgray scale difference values corresponding to the plurality of colorchannels of the pixel point as the calibration RGB difference valuecorresponding to the pixel point.
 8. The device according to claim 7,wherein the third determination unit is specifically configured to:calculate a calibration gray scale value corresponding to each colorchannel of the pixel point according to the converted gray scale valueand the calibration gray scale difference value corresponding to eachcolor channel of the pixel point; and determine the calibration grayscale values corresponding to the plurality of color channels of thepixel point as the calibration RGB value corresponding to the pixelpoint.
 9. The device according to claim 1, wherein a plurality ofsampling gray scale values contained in each color channel and a highcalibration gray scale difference value and a low calibration gray scaledifference value corresponding to each of the sampling gray scale valuesare specifically recorded in the target look-up table; the seconddetermination unit is specifically configured to: determine a convertedgray scale value corresponding to each color channel of the pixel pointaccording to the converted RGB value corresponding to the pixel point;determine a high calibration gray scale difference value and a lowcalibration gray scale difference value corresponding to each colorchannel according to the converted gray scale value corresponding toeach color channel of the pixel point and the target look-up table; anddetermine the high calibration gray scale difference values and the lowcalibration gray scale difference values corresponding to the pluralityof color channels of the pixel point as the calibration RGB differencevalue corresponding to the pixel point.
 10. The device according toclaim 9, wherein the third determination unit is specifically configuredto: calculate a high calibration gray scale value and a low calibrationgray scale value corresponding to each color channel of the pixel pointaccording to the converted gray scale value, the high calibration grayscale difference value and the low calibration gray scale differencevalue corresponding to each color channel of the pixel point; calculatea calibration gray scale value corresponding to each color channel ofthe pixel point according to the high calibration gray scale value andthe low calibration gray scale value corresponding to each color channelof the pixel point; and determine the calibration gray scale valuescorresponding to the plurality of color channels of the pixel point asthe calibration RGB value corresponding to the pixel point.
 11. An imageprocessing method applied to a target TCON chip, comprising: acquiringan image to be displayed, the image to be displayed containing aplurality of pixel points; determining a converted RGB valuecorresponding to each of the pixel points according to an original RGBvalue corresponding to each of the pixel points; determining acalibration RGB difference value corresponding to each of the pixelpoints according to the converted RGB value corresponding to each of thepixel points and a target look-up table; determining a calibration RGBvalue corresponding to each of the pixel points according to theconverted RGB value and the calibration RGB difference valuecorresponding to each of the pixel points; and outputting and displayingthe image to be displayed according to the calibration RGB valuecorresponding to each of the pixel points.
 12. A timing control device,comprising: the image processing device according to claim
 1. 13. Adisplay device, comprising: the timing control device according to claim12.
 14. A storage medium, comprising a stored program, wherein theprogram, when executed, controls an apparatus where the storage mediumis located to perform the image processing method according to claim 11.15. An image processing device, comprising a storage medium and one ormore processors, wherein the storage medium is coupled to the processor,the processor is configured to execute a program instruction stored inthe storage medium, and the program instruction, when executed, performsthe image processing method according to claim 11.